package com.itheima.atte.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author itheima
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AttendGroupPart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 考勤组id
     */
    private Long attendGroupId;

    /**
     * 1为部门2为用户
     */
    private Integer objectType;

    /**
     * 部门或用户id
     */
    private Long objectId;

    /**
     * 1是参加2是不参加
     */
    private Integer attendType;


}
